<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../../public/common.jsp"%>
<body>
	
	<div style="margin-top: 10px;  margin-left: 10px">
			<shiro:hasPermission name="backend_system_upms_role_add">
				<button id="addRole" class="layui-btn ">添加权限</button>
			</shiro:hasPermission>
	</div>
	<table class="layui-table" id="roleList" lay-filter="roleList"></table>
	
	<script type="text/html" id="roleBar">
  		<shiro:hasPermission name="backend_system_upms_role_setting">
			<a class="layui-btn layui-btn-xs" lay-event="edit">设置权限</a>
		</shiro:hasPermission>
		<shiro:hasPermission name="backend_system_upms_role_delectRole">
  			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除角色</a>
		</shiro:hasPermission>
	</script>
	
	
</body>
<!-- 加载js文件-->
<script type="text/javascript" src="/LarryMS/common/layui/layui.js"></script>
<script type="text/javascript">
	layui.cache.page = 'system/upms/role/index';
	layui.config({
		version : "1.0.0",
		base : '/LarryMS/common/'
	}).extend({
		larry : 'js/base'
	}).use('larry');
</script>

</html>